package com.qfedu.zy.dao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.Set;
@MapperScan
@Repository
public interface PermissionDAO {
    @Transactional
    public Set<String> queryPermissionByUserId(int userId);

}
